home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Doom 3 - Resurrection of …l (USA) (Xbox Press Kit)
/
Doom 3 - Resurrection of Evil (USA) (Xbox Press Kit).bin
/
Doom3_ROE_Xbox_Press
/
sections
/
preview.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2005-10-10
|
1KB
|
49 lines
function loadPreview()
{
var _loc1_ = _root;
moviecontainer.stop();
moviecontainer.unloadMovie();
splash.gotoAndStop(1);
splash._visible = true;
border.gotoAndStop("border_on");
moviecontroller._visible = false;
moviealpha._visible = false;
if(_loc1_.currentGallery == "xboxvignette" || _loc1_.currentGallery == "roe_pctrailer" || _loc1_.currentGallery == "trailer")
{
x = _loc1_.currentGallery;
moviecontainer.loadMovie("video/" + x + ".swf");
}
else
{
moviecontainer.loadMovie("video/interview" + clipNumber + ".swf");
}
loading.gotoAndPlay("check");
clearFrameCheck();
setFrameCheck();
}
close._visible = false;
next._visible = false;
previous._visible = false;
moviecontroller._visible = false;
moviecontroller_sm._visible = false;
moviealpha._visible = false;
selectedDesktop = 1;
checkMovieFrame = function()
{
if(moviecontainer._currentframe == moviecontainer._totalframes && moviecontainer._currentframe > 1)
{
moviecontainer.gotoAndStop(2);
splash._visible = true;
clearFrameCheck();
}
};
setFrameCheck = function()
{
intervalID = setInterval(checkMovieFrame,300);
};
clearFrameCheck = function()
{
clearInterval(intervalID);
};
stop();